Methods for exchanging information between electronic devices, and electronic devices

ABSTRACT

The present disclosure provides a method for exchanging information between electronic devices, and an electronic device. The method includes at a first electronic device: determining that a request for exchanging information from a second electronic device is valid, after receiving the request; acquiring an information area with respect to the request, and selecting area data corresponding to the information area; and after or at the same time of the selection of the area data, establishing a communication connection with the second electronic device, and transmitting the area data over the communication connection. After coming into contact with the second electronic device, the electronic device equipped with the touch screen, as the first electronic device, may establish and perform data transmission with the second electronic device. Compared with the conventional methods that require transmission via mobile communication or  3 G communication, the present disclosure can reduce cost for the user of the electronic device, and provide more diversified services and higher transmission bandwidth

TECHNICAL FIELD

The present disclosure relates to communication technology, and more particularly to methods for exchanging information between electronic devices, and such electronic devices.

BACKGROUND

The 3^(rd) generation (3G) mobile communication technology refers to cellular mobile communication technology supporting high-speed data transmission. The 3G service can transmit sound and data information simultaneously at a rate typically above several hundred kbps. The major difference of 3G from 2G is an increase in speed for transmitting sound and data. The 3G system can enable better wireless roaming in a global scope, processing various forms of media, such as image, music, and video stream, and providing various information services, such as webpage browse, teleconference, and e-commerce, by taking into account good compatibility with the existing 2G system. To this end, wireless networks should be able to support different data transmission speed, for example, supporting transmission speeds of at least 2 Mbps (Megabit per second), 384 kbps (kilobit per second), and 144 kbps for indoors, outdoors, and driving condition, respectively. (These values will vary depending on network environment).

Conventionally, data transmission is performed with network resources provided by the 3G technology. The data transmission with the existing network resources will add to a user's payment, and network congestion often occurs due to the limited existing network resources.

There is a need for methods for exchanging information between electronic devices and such electronic devices, which can reduce cost for the user of the electronic device, and provide more diversified services and higher transmission bandwidth.

SUMMARY

An embodiment of the present disclosure provides a method for exchanging information between electronic devices, including, at a first electronic device: determining that a request for exchanging information from a second electronic device is valid, after receiving the request; acquiring an information area with respect to the request, and selecting area data corresponding to the information area; and after or at the same time of the selection of the area data, establishing a communication connection with the second electronic device, and transmitting the area data over the communication connection.

An embodiment of the present disclosure provides an electronic device including: a detection unit configured to determine that a request for exchanging information from a second electronic device is valid, after the electronic device receives the request; a data selection unit configured to acquiring an information area with respect to the request, and select area data corresponding to the information area; and a communication connection unit configured to, after or at the same time of the selection of the area data, establish a communication connection with the second electronic device, and transmit the area data over the communication connection.

According to embodiments of the present disclosure, data transmission can be performed between an electronic device equipped with a touch screen, as a first electronic device, and a second electronic device, after the first and second electronic devices come into contact with each other. Compared with the conventional methods that require transmission via mobile communication or 3G communication, the present disclosure can reduce cost for the user of the electronic device, and provide more diversified services and higher transmission bandwidth.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic flowchart of a method for exchanging information between electronic devices according to an embodiment of the present disclosure;

FIG. 2 is a schematic diagram showing establishment of communication connection between electronic devices according to an embodiment of the present disclosure;

FIG. 3 is a schematic flowchart of showing establishment of communication connection between LePad and LePhone according to an embodiment of the present disclosure;

FIG. 4 is a schematic block diagram of an electronic device according to an embodiment of the present disclosure.

DETAILED DESCRIPTION OF THE EMBODIMENTS

The present disclosure will be detailed below with reference to the figures and embodiments, to further illustrate the problems to be solved by the present disclosure, the solutions and advantages of the present disclosure.

An embodiment of the present disclosure provides a method for exchanging information between electronic devices. As shown in FIGS. 1 and 2, the method includes the following steps.

Step 101, an electronic device 100 equipped with a touch screen determines that a request for exchanging information from a second electronic device 200 is valid, after receiving the request.

Step 102, the electronic device 100 acquires an information area with respect to the request, and selects area data corresponding to the information area.

Step 103, after or at the same time of the selection of the area data, the electronic device 100 establishes a communication connection with the second electronic device 200, and transmits the area data over the communication connection.

The request for exchanging information may correspond to a contact with the second electronic device 200. After coming into contact with the second electronic device 200, the electronic device 100 equipped with the touch screen, as the first electronic device, may establish and perform data transmission with the second electronic device 200. Compared with the conventional methods that require transmission via mobile communication or 3G communication, the present disclosure can reduce cost for the user of the electronic device, and provide more diversified services and higher transmission bandwidth.

The communication connection with the second electronic device 200 may be established by establishing, as the communication connection, a point-to-point network connection with the second electronic device 200.

Alternatively, a first network communication may be established with a server 300 which has a second network connection with the second electronic device 200. The first and second network connections form the communication connection.

As shown in FIG. 2, the communication connection between the electronic device 100 and the second electronic device 200 may be implemented in various manners. With the popularization of wireless technologies such as WiFi, and Bluetooth, most of the existing electronic devices have wireless technology related functions. As a result, it is possible to establish communication connection between two electronic devices or among more than two electronic devices.

The electronic device as a communication terminal can support transmission of various data over communication networks, communicate with a base station (which may be referred to as a server), and establish communication connection with a core network (which may be referred to as another server) via the base station.

The electronic devices can establish connection with each other via a wireless Access Point (AP). Here, the wireless AP may be referred to as a server via which the electronic device can establish communication connection with the second electronic device 200.

It is necessary to determine that data transmission between the two electronic devices is actually required before establishing the communication connection. Accordingly, when the electronic devices come into contact, the first electronic device 100 corresponding to the second electronic device 200 generates a first event of information exchange request, and records a first time when the first event is generated.

The second electronic device 200 generates a second event of information exchange request and a touch event, and records a second time when the second event and the touch even are generated. Here, the touch event refers to an event generated when a touch action is performed on the touch screen of the second electronic device 200.

The first time and the second time are compared. When the result of the comparison indicates that the first and second times are matched, it is determined that a communication connection needs to be established between the electronic device 100 and the second electronic device 200.

The request for exchanging information may correspond to a condition that at least one contact action occurs, and the contact action is valid. Alternatively, the request for exchanging information may correspond to a condition that a trigger operation is performed on a predetermined component of the second electronic device 200, and the trigger operation is valid. Alternatively, the request for exchanging information may correspond to an electronic signal from the second electronic device 200. Particularly, the event of information exchange request may be a contact event. In an embodiment, whether a communication connection needs to be established between the electronic devices may be determined in the following manner. Before establishing a communication connection between the first and second electronic devices, the first electronic device generates a first contact event, and records a first time when the first contact event occurs. The second electronic device 200 generates a second contact event and a touch event, and records a second time when the second contact event and the touch event occur. Here, the touch event refers to an event generated when a touch action is performed on the touch screen of the second electronic device 200. The first time and the second time are compared. When the result of the comparison indicates that the first and second times are matched, it is determined that a communication connection needs to be established between the electronic device and the second electronic device 200.

Alternatively, before establishing the communication connection with the second electronic device 200, the electronic device 100 may broadcast its own identification number wirelessly, and wait for a response information containing a request for establishing a communication connection from the second electronic device 200.

The contact action may be determined as valid when at least one contact action is applied to the electronic device 100, and the pressure exerted by the contact action on a resistive touch screen of the electronic device 100 reaches a preset value. In practical applications, it may be prescribed that a contact action is valid only when it occurs two or more times, in order to ensure that the contact action actually takes effect.

The step of selecting area data corresponding to the information area may be performed in the following manner.

There are currently a plurality of information areas on the touch screen, and each of the information areas has corresponding area data. When a valid contact action occurs on one of the information areas, the area data contained in the information area is acquired. Alternatively, after a valid contact action occurs on one of the information areas, the area data that are selected within a predetermined time period before or after the occurrence of the valid contact action are acquired.

In an application scenario, the electronic device may be implemented as a LePad, and the second electronic device may be implemented as a LePhone. The two devices may exchange information as follows.

Step 301, the LePad determines that the contact action is valid after being contacted by the second electronic device, LePhone. In this process, some hot key of the LePad may be pressed to bring the LePad into an information exchange state, and then certain position of the LePad may be brought into contact with the touch screen of the LePhone. Also, the contact action may be determined as valid when it occurs two or more times.

Step 302, the LePad selects the information area on which the contact action occurs, and selects the corresponding area data in the information area.

Step 303, the LePad generates a first contact event, and records a first time when the first contact event occurs.

At this time, the LePhone also generates a second contact event and a touch event, and records a second time when the second contact event and the touch event occur. Here, the touch event may refer to an event generated when the touch screen of the LePhone is touched.

Step 304, the first time is compared with the second time in the LePad. When the result of the comparison indicates that the first and second times are matched, the LePad determines to establish a communication connection with the LePhone.

At the same time, the first time is compared with the second time in the LePhone. When the result of the comparison indicates that the first and second times are matched, the LePhone determines to establish a communication connection with the LePad.

Step 305, the LePad establishes a communication connection with the LePhone, and transmits the area data over the communication connection.

Here, the LePad may negotiate with the LePhone to establish the communication connection via wireless technologies, such as WiFi or Bluetooth, or by establishing a communication with a core network via a base station of a communication network, or via wireless APs.

An embodiment of the present disclosure provides an electronic device including: a detection unit 401 configured to determine that a request for exchanging information from a second electronic device 200 is valid, after the electronic device receives the request; a data selection unit 402 configured to acquiring an information area with respect to the request, and select area data corresponding to the information area; and a communication connection unit 403 configured to, after or at the same time of the selection of the area data, establish a communication connection with the second electronic device 200, and transmit the area data over the communication connection.

After coming into contact with the second electronic device 200, the electronic device 100 equipped with the touch screen, as the first electronic device, may establish and perform data transmission with the second electronic device 200. Compared with the conventional methods that require transmission via mobile communication or 3G communication, the present disclosure can reduce cost for the user of the electronic device, and provide more diversified services and higher transmission bandwidth.

The communication connection unit 403 may include a point-to-point connection module configured to establish, as the communication connection, a point-to-point network connection with the second electronic device 200.

Alternatively, the communication connection unit 403 may include a network connection module configured to establish a first network connection with a server which has a second network connection with the second electronic device 200. The first and second network connections form the communication connection.

The request for exchanging information may correspond to a condition that at least one contact action occurs, and the contact action is valid. Alternatively, the request for exchanging information may correspond to a condition that a trigger operation is performed on a predetermined component of the second electronic device 200, and the trigger operation is valid. Alternatively, the request for exchanging information may correspond to an electronic signal from the second electronic device 200. Accordingly, the detection unit 401 may include a valid contact module configured to, upon at least one contact action on the electronic device 100, determine that the pressure exerted by the contact action on the resistive touch screen of the electronic device reaches a preset value.

The data selection unit 402 may include a selection execution module configured to, when at least one contact action occurs on the electronic device 100, and the valid contact action is particularly performed on one of the information areas on the touch screen, acquire area data contained in the information area. Alternatively, the selection execution module may be configured to, after a valid contact action occurs on one of the information areas, acquire area data that are selected within a predetermined time period before or after the occurrence of the valid contact action. Here, there are currently a plurality of information areas on the touch screen, and each of the information areas has corresponding area data.

According to an embodiment, it is necessary to determine that data transmission between the two electronic devices is actually required before establishing the communication connection. Accordingly, the electronic device 100 may further include an information exchange request event unit configured to, before the establishment of the communication connection with the second electronic device 200, generate a first event of information exchange request, records a first time when the first event is generated, compare the first time with a second time, and determine to establish a communication connection between the electronic device 100 and the second electronic device 200 when the result of the comparison indicates that the first and second times are matched. Here, the second time is obtained by the second electronic device 200 generating a second event of information exchange request and a touch event, and recording a second time when the second event and the touch even are generated. The touch event refers to an event generated when a touch action is performed on the touch screen of the second electronic device 200.

The foregoing illustrates several preferred embodiments of the present disclosure. To be noted, modifications and refinements can be made by those skilled in the art without departing from the principle of the present disclosure. These modifications and refinements are to be encompassed by the scope of the present disclosure. 

What is claimed is:
 1. A method for exchanging information between electronic devices, comprising at a first electronic device: determining that a request for exchanging information from a second electronic device is valid, after receiving the request; acquiring an information area with respect to the request, and selecting area data corresponding to the information area; and after or at the same time of the selection of the area data, establishing a to communication connection with the second electronic device, and transmitting the area data over the communication connection.
 2. The method of claim 1, wherein establishing a communication connection with the second electronic device comprises: establishing a point-to-point network connection with the second electronic device as the communication connection; or establishing a first network connection with a server that has a second network connection with the second electronic device, wherein the first and second network connections form the communication connection.
 3. The method of claim 1, wherein the request for exchanging information corresponds to a condition that at least one contact action from the second electronic device occurs, and the contact action is valid; or the request for exchanging information corresponds to a condition that a trigger operation is performed on a predetermined component of the second electronic device, and the trigger operation is valid; or the request for exchanging information corresponds to an electronic signal from the second electronic device.
 4. The method of claim 3, wherein determining that the contact action is valid comprises: determining that at least one contact action is applied to the first electronic device, and a pressure exerted by the contact action on a touch screen of the first electronic device reaches a preset value.
 5. The method of claim 3, wherein the first electronic device is provided with a touch screen on which there are a plurality of information areas, selecting area data corresponding to the information area comprises: when a valid contact action is applied to one of the information areas, acquiring area data contained in the information area; or after a valid contact action is applied to one of the information areas, acquiring area data that are selected within a predetermined time period before or after occurrence of the valid contact action.
 6. The method of claim 1, further comprising before establishing the communication connection with the second electronic device: generating, by the first electronic device, a first event of information exchange request, and recording a first time when the first event occurs; generating, by the second electronic device, a second event of information exchange request and a touch event, and recording a second time when the second event and the touch event occur, wherein the touch event refers to an event generated when a touch action is performed on a touch screen of the second electronic device; comparing the first time with the second time, and determining to establish a communication connection between the first and second electronic devices when the result of the comparison indicates that the first and second times are matched.
 7. An electronic device comprising: a detection unit configured to determine that a request for exchanging information from a second electronic device is valid, after the electronic device receives the request; a data selection unit configured to acquiring an information area with respect to the request, and select area data corresponding to the information area; and a communication connection unit configured to, after or at the same time of the selection of the area data, establish a communication connection with the second electronic device, and transmit the area data over the communication connection.
 8. The electronic device of claim 7, wherein the communication connection unit comprises: a point-to-point connection module configured to establish, as the communication connection, a point-to-point network connection with the second electronic device; or a network connection module configured to establish a first network connection with a server which has a second network connection with the second electronic device, wherein the first and second network connections form the communication connection.
 9. The electronic device of claim 7, wherein the electronic device is provided is with a touch screen on which there are a plurality of information areas, the data selection unit comprises a selection execution module configured to, when at least one contact action occurs on the electronic device, and the valid contact action is particularly performed on one of the information areas on the touch screen, acquire area data contained in the information area, or after a valid contact action occurs on one of the information areas, acquire area data that are selected within a predetermined time period before or after the occurrence of the valid contact action.
 10. The electronic device of claim 7, further comprising an information exchange request event unit configured to, before the establishment of the communication connection with the second electronic device, generate a first event of information exchange request, records a first time when the first event is generated; compare the first time with a second time, and determine to establish a communication connection between the electronic device and the second electronic device when the result of the comparison indicates that the first and second times are matched; wherein the second time is obtained by the second electronic device generating a second event of information exchange request and a touch event, and recording a second time when the second event and the touch even are generated, wherein the touch event refers to an event generated when a touch action is performed on a touch screen of the second electronic device. 